* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
}

.header {
    background-color: #f7f7f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.header__navigation {
    display: flex;
    gap: 10px;
}

.header__menu-item {
    list-style-type: none;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-form__input {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.search-form__submit {
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
}

.content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 20px;
}

.content__category {
    grid-column: span 12;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #ccc;
}

.content__category-title {
    font-weight: bold;
}

.content__category-description {
    font-size: smaller;
}

.content__articles {
    grid-column: span 8;
}

.article {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.article__image {
    width: 100%;
    object-fit: cover;
}

.article__title {
    font-size: 24px;
    margin-bottom: 10px;
}

.article__author {
color: #999;
font-size: 14px;
}

.article__description {
line-height: 1.5;
}

.article__read-more {
display: block;
text-align: right;
color: #007bff;
text-decoration: none;
}

.sidebar {
grid-column: span 4;
display: flex;
flex-direction: column;
gap: 20px;
padding: 20px;
}

.sidebar__box {
border: 1px solid #ccc;
border-radius: 5px;
padding: 20px;
}

.sidebar__box--ad {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}

.sidebar__ad-image {
width: 100%;
height: auto;
}

.sidebar__ad-text {
text-align: center;
}

.sidebar__box-title {
font-weight: bold;
margin-bottom: 10px;
}

.sidebar__box-content {
color: #666;
margin-bottom: 20px;
}

.sidebar__box-action {
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
padding: 10px 20px;
cursor: pointer;
text-align: center;
width: 100%;
}

.sidebar__list {
list-style-type: none;
}

.sidebar__list-item {
margin-bottom: 10px;
}

.sidebar__list-readmore {
display: block;
text-align: center;
color: #007bff;
text-decoration: none;
margin-top: 20px;
}